package com.myday.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 待办事项对象 my_todo
 * 
 * @author xiaofengs
 * @date 2024-05-18
 */
public class MyTodo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** todo ID */
    @Excel(name = "todo ID")
    private Long todoId;

    /** 用户ID */
    private Long userId;

    /** 待办内容 */
    @Excel(name = "待办内容")
    private String title;

    /** 待办内容 */
    @Excel(name = "待办内容")
    private String content;

    /** 状态（0：未完成 1：已完成） */
    @Excel(name = "状态", readConverterExp = "0=：未完成,1=：已完成")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setTodoId(Long todoId) 
    {
        this.todoId = todoId;
    }

    public Long getTodoId() 
    {
        return todoId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("todoId", getTodoId())
            .append("userId", getUserId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
